from django.contrib.admin import ModelAdmin


class CommonProductAdmin(ModelAdmin):
    list_display = ('id', 'product', 'prior')
    list_editable = ('product', 'prior')
    search_fields = ('product__name',)

